package io.renren.modules.generator.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.generator.entity.DeviceHourEntity;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2020-09-07 14:14:46
 */
public interface DeviceHourService extends IService<DeviceHourEntity> {

    PageUtils queryPage(Map<String, Object> params);

    String selectAvgQuota(Map<String, String> queryMap);

    Object quota(String[] deviceCodes, String time);

    List<DeviceHourEntity> selectDeviceHourEntityListByParams(Map<String, Object> params);
}

